<?php

namespace App\Http\Controllers\Help;

use Illuminate\Http\Request;

use App\Http\Requests;
use App\Http\Controllers\Controller;

class IndexController extends Controller
{
    protected  $index = 'Help.index';
    protected  $detail = 'Help.detail';
    protected  $problem = 'Help.problem';
    protected  $area = 'Help.area';
    protected  $trends = 'Help.trends';
    protected  $newbei = 'Help.newbei';
    protected  $info = 'Help.info';

    public function index()
    {
        $title='帮助';
        return view($this->index)->with('title',$title);

    }

    public function detail()
    {
    	$title='帮助';
        return view($this->detail)->with('title',$title);

    }

    /**
     * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
     * 新手教程
     */
    public function newbei()
    {
    	$title='帮助';
        return view($this->newbei)->with('title',$title);
    }



    /**
     * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
     * 功能介绍
     */
    public function functionIntroduction()
    {
    	$title='帮助';
        return view($this->detail)->with('title',$title);
    }

    /***
     * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
     * 常见问题
     */
    public function commonProblem()
    {
    	$title='帮助';
        return view($this->problem)->with('title',$title);
    }


    /**
     * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
     * 区域分布
     */
    public function area()
    {
        $title='地区';
        return view($this->area)->with('title',$title);
    }

    /**
     * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
     * 行业动态
     */
    public function trends()
    {
    	$title='帮助';
        return view($this->trends)->with('title',$title);
    }


    public function info()
    {

        $title='公司简介';
        return view($this->info)->with('title',$title);
    }


}
